package com.jsb.laundry.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单发货地址信息
 * @TableName jsb_orders_shipping_addresses
 */
@TableName(value ="jsb_orders_shipping_addresses")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "JsbOrdersShippingAddresses对象",description = "订单取件收件地址")
public class JsbOrdersShippingAddresses implements Serializable {
    @ApiModelProperty(value = "自增id", dataType = "int")
    @TableId(type = IdType.AUTO)
    private int id;

    @ApiModelProperty(value = "订单id", dataType = "string")
    private String orderId;

    @ApiModelProperty(value = "取件快递联系人姓名", dataType = "string")
    private String pickupName;

    @ApiModelProperty(value = "取件快递联系人电话号码", dataType = "string")
    private String pickupMobile;

    @ApiModelProperty(value = "取件地址", dataType = "string")
    private String pickupAddress;

    @ApiModelProperty(value = "送件快递联系人", dataType = "string")
    private String deliveryName;

    @ApiModelProperty(value = "送件快递联系人电话号码", dataType = "string")
    private String deliveryMobile;

    @ApiModelProperty(value = "送件地址", dataType = "string")
    private String deliveryAddress;

    @ApiModelProperty(value = "创建时间", dataType = "date")
    private Date createdAt;

    @ApiModelProperty(value = "更新时间", dataType = "date")
    private Date updatedAt;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}